import axios from 'axios'
import qs from 'qs'

if(process.env.NODE_ENV === 'development'){
    console.log(process.env)
}
axios.defaults.baseURL=`http://127.0.0.1:3001`
axios.defaults.transformRequest = function(data){
    return qs.stringify(data)
}

export default axios